$(document).on( "click", ".show-page-login-msg", function() {
              $('#login').button('disable');
              $('#register').button('disable');
  var $this = $( this ),
  theme = $this.jqmData( "theme" ) || $.mobile.loader.prototype.options.theme,
  msgText = $this.jqmData( "msgtext" ) || $.mobile.loader.prototype.options.text,
  textVisible = $this.jqmData( "textvisible" ) || $.mobile.loader.prototype.options.textVisible,
  textonly = !!$this.jqmData( "textonly" );
  html = $this.jqmData( "html" ) || "";
$.mobile.loading( 'show', {

  text: msgText,
  textVisible: textVisible,
  theme: theme,
  textonly: textonly,
  html: html
	
	
  });    
  
  });